To prevent your event handler from being invoked when event is raised, unsubscribe from the event.
要防止在引发事件时调用事件处理程序, 请取消订阅该事件.
网络文摘精选
When the event is raised, the delegate instance and its associated event handler method is called.
引发该事件时, 就会调用该委托实例及其关联的事件处理程序方法.
网络文摘精选
An Event Handler is a subroutine that executes code for a given event.
事件处理器为一个子程序,它可以为指定的事件执行相应代码.
网络文摘精选
Some other ill-formed code prevents the system from calling your event handler.
一些其它恶意代码就可以阻止系统调用你的事件句柄了.
互联网摘选
Since this event is static, it will only hold onto the handler as a weak reference.
由于此事件为静态的, 因此它仅将该处理程序保持为一个弱引用.
网络文摘精选
The benefits of this approach are more than just being able to use single event handler.
这种方法的好处并不是仅限于把多个事件处理器缩减为一个.
网络文摘精选
在我们的新实现中,我们不再对客户端数组执行循环并发送聊天消息(此工作现在在Redis订阅者事件处理函数中三成。)
互联网摘选
接下来,按钮操作事件处理程序只需用恰当的EcmaScript文件名就可以简单地调用runFESI()方法
互联网摘选
The button action event handler, shown next, uses the runFESI method to run the EcmaScript programs.
下面显示的按钮操作事件处理程序使用了runFESI方法来运行EcmaScript程序。
互联网摘选
